﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Login.aspx.cs" Inherits="Framework.Portal.Login" %>
<%@ Register Src="/Layouts/Admin/Modules/Footers/Footer.ascx" TagName="Footer" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Đăng nhập</title>
    <link href="/Resource/Styles/Default.css" rel="stylesheet" type="text/css" />    
</head>
<body>
    <form id="form1" runat="server"> 
        <div align="left" style="padding-top:10px;"><asp:Label ID="lblSiteName" runat="server" Font-Bold="true" Font-Size="X-Large" ForeColor="red" Text="NightStalker"></asp:Label></div>       
        <div style="position:relative; margin-top:4%;" align="center">
            <table border="0" cellpadding="0" cellspacing="0" width="500">                
                <tr>
                    <td align="center">
                        <table align="center" width="100%" cellspacing="1" cellpadding="0" border="0" class="content">
                            <tr>
                                <td class="header1" colspan="2" align="left">
                                    <img src="/Admin/Resource/Images/blank.gif" width="10" height="1" /><NS:Label ID="lblTITLE" runat="server" LocalizedPage="LOGIN" LocalizedTag="TITLE" /></td>
                            </tr>
                            <tr>
                                <td class="postheader" width="50%" align="left">
                                    <img src="/Admin/Resource/Images/blank.gif" width="10" height="1" /><NS:Label ID="lblUserName" runat="server" LocalizedPage="LOGIN" LocalizedTag="USERNAME" /></td>
                                <td class="post" width="50%" align="left">
                                    <asp:TextBox ID="txtUsername" Width="200" BorderStyle="Solid" BorderWidth="1" runat="server"
                                        MaxLength="35" value="Enter username" onfocus="if (this.value=='Enter username') this.value='';"
                                        onblur="if (this.value=='') this.value='Enter username';"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtUsername"
                                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="postheader" align="left">
                                    <img src="/Admin/Resource/Images/blank.gif" width="10" height="1" /><NS:Label ID="Label2" runat="server" LocalizedPage="LOGIN" LocalizedTag="PASSWORD" /></td>
                                <td class="post" align="left">
                                    <asp:TextBox ID="txtPassword" Width="200" BorderStyle="Solid" BorderWidth="1" runat="server"
                                        TextMode="Password" MaxLength="35" value="Enter password" onfocus="if (this.value=='Enter password') this.value='';"
                                        onblur="if (this.value=='') this.value='Enter password';"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtPassword"
                                        ErrorMessage="*"></asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="postheader" align="left">
                                    <img src="/Admin/Resource/Images/blank.gif" width="10" height="1" /><NS:Label ID="Label3" runat="server" LocalizedPage="LOGIN" LocalizedTag="AUTO" /></td>
                                <td class="post" align="left">
                                    <asp:CheckBox runat="server" ID="chkRememberPwd" Checked="true" /></td>
                            </tr>
                            <tr>
                                <td class="postfooter" colspan="2" valign="middle" align="center">
                                    <NS:Button LocalizedPage="LOGIN" LocalizedTag="LOGIN" ID="btnLogin" runat="server" BorderStyle="Solid" BorderWidth="1" CssClass="pbutton" OnClick="btLogin_Click" />
                                    <NS:Button LocalizedPage="LOGIN" LocalizedTag="LOSTPASSWORD" ID="btnLostPass" runat="server" BorderStyle="Solid" BorderWidth="1" CssClass="pbutton" OnClick="btnLostPass_Click" />
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                         <uc1:Footer ID="Footer" runat="server"></uc1:Footer>
                    </td>
                </tr>
            </table>
            </div>
    </form>
</body>
</html>
